package com.sai.homework;

public class MobileCard {
    String kind;
    String number;
    String username;
    /*private */String password;
    /*private */int credit;
    /*private */int callTime;
    /*private */int data;

    public MobileCard() {
    }

    public MobileCard(String number, String username, int credit) {
        this.number = number;
        this.username = username;
        this.credit = credit;
    }

    public void show(/*String number, String username, int credit*/) {
        System.out.println("当前手机卡号为：" + /*this.*/number + "，机主用户名为:" + username + "，手机余额为：" + credit + "元");
    }
}
